
<%include("/common/base-top.html",{title:"工作台",css:[ctxPath + "/css/home.css",ctxPath +"/layer/skin/default/layer.css",ctxPath + "/zui/dist/lib/dashboard/zui.dashboard.min.css",ctxPath + "/zui/dist/lib/datatable/zui.datatable.min.css"]}){} %>

<div class="container-fluid">
    <div class="page-head-nav">
        <div class="row">
            <div class="col-xs-10">
                <ol class="breadcrumb">
                    <li><a href="${ctxPath}/workbench"><i class="icon icon-home"></i> 工作台</a> </li>
                </ol>
            </div>
            <div class="col-xs-2">
            </div>
        </div>
    </div>
    <div id="dashboard" class="dashboard dashboard-draggable" data-height="300">
        <section class="row">
             <div class="col-xs-6" >
       <div class="panel" data-id="4">
           <div class="panel-heading projectheading">
                        <i class="icon icon-resize"></i>
                        <span class="title">项目信息</span>
                         <div class="panel-actions">
                            <button id="project_refresh" type="button" class="btn refresh-panel" data-toggle="tooltip" title="刷新"><i class="icon-refresh"></i></button>
                        </div>
                    </div>
                    <div class="panel-body">
                    <input hidden value="0" id="project_table_row">
                    <input hidden value="" id="project_id">
                    <div class="table-fix">
		                   <table class="table " id="project_table">
		                               <thead>
		                               <tr>
		                                   <th width="12%">序号</th>
		                                   <th>项目编码</th>
		                                   <th>项目名称</th>
		                                   <th width="15%">项目负责人</th>
		                                   <th width="25%">创建时间</th>
		                               </tr>
		                               </thead>
		                               <tbody id="project_tbody">
		                               <tr class="not_data"><td colspan="5" ><i class="icon icon-spin icon-spinner-indicator"></i></td></tr>
		                               </tbody>
		                    </table>
                            <div id="project_more"></div>
                    </div>
                    </div>
                  </div>
            </div>
            <div class="col-xs-6">
                <div class="panel" data-id="5">
                    <div class="panel-heading logheading">
                        <i class="icon icon-file-text-o"></i>
                        <span class="title">日志监控记录</span>
                        <div class="panel-actions">
                            <button id="log_refresh" type="button" class="btn refresh-panel" data-toggle="tooltip" title="刷新"><i class="icon-refresh"></i></button>
                        </div>
                    </div>
                    <div class="panel-body" >
                     <input hidden value="0" id="log_table_row">
                    	 <div class="table-fix">
	                           <table class="table " id="log_table">
	                               <thead>
	                               <tr>
	                                   <th width="12%">序号</th>
	                                   <th>时间</th>
	                                   <th width="35%">用户</th>
	                                   <th width="15%">行为</th>
	                               </tr>
	                               </thead>
	                               <tbody id="log_tbody">
	                               <tr class="not_data"><td colspan="4" ><i class="icon icon-spin icon-spinner-indicator"></i></td></tr>
	                               </tbody>
	                           </table>
	                           <div id="log_more"></div>
                           </div>
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="panel" data-id="4">
                    <div class="panel-heading planheading">
                        <i class="icon icon-bolt"></i>
                        <span class="title">计划执行情况</span>
                       <div class="panel-actions">
                            <button id="plan_refresh" type="button" class="btn refresh-panel" data-toggle="tooltip" title="刷新"><i class="icon-refresh"></i></button>
                        </div>
                    </div>
                     <input hidden value="0" id="plan_row">
                     <div class="panel-body" id="planInfos">
                     <i class="icon icon-spin icon-spinner-indicator"></i>
                    </div>
                </div>
            </div>
            
             <div class="col-xs-12">
                <div class="panel">
                    <div class="panel-heading  ruleheading">
                        <i class="icon icon-bullhorn"></i>
                        <span class="title">打尺异常预警</span>
                        <div class="panel-actions">
                            <button id="rule_refresh" type="button" class="btn refresh-panel" data-toggle="tooltip" title="刷新"><i class="icon-refresh"></i></button>
                        </div>
                    </div>
                    <div class="panel-body">
                      <input hidden value="0" id="rule_table_row" >
	                      <div class="table-fix">
	                            <table class="table " id="rule_table" >
	                                <thead>
	                                <tr>
	                                    <th width="5%">序号</th>
	                                    <th>物料编码</th>
	                                    <th>物料名称</th>
	                                    <th>长度（cm）</th>
	                                    <th>宽度（cm）</th>
	                                    <th>高度（cm）</th>
	                                    <th>体积（m3）</th>
	                                    <th>打尺重量（kg）</th>
	                                    <th width="7%">操作人</th>
	                                    <th>操作地点</th>
	                                    <th>操作时间</th>
	                                </tr>
	                                </thead>
	                                <tbody id="rule_tbody">
	                                <tr class="not_data"><td colspan="12"><i class="icon icon-spin icon-spinner-indicator"></i></td></tr>
	                                </tbody>
	                            </table>
	                      
                            <div id="rule_more"></div>
                        </div>    
                    </div>
                </div>
            </div>
            
            <div class="col-xs-12">
                <div class="panel" data-id="5">
                    <div class="panel-heading materialMoveheading">
                        <i class="icon icon-globe"></i>
                        <span class="title">货物追踪</span>
                        <div class="panel-actions">
                            <button id="materialMove_refresh" type="button" class="btn refresh-panel" data-toggle="tooltip" title="刷新"><i class="icon-refresh"></i></button>
                        </div>
                    </div>
                    <div class="panel-body">
                    <input hidden value="0" id="materialMove_table_row">
                      <div class="table-fix">
                            <table class="table " id="materialMove_table">
                                <thead>
                                <tr>
                                    <th width="5%">序号</th>
                                    <th>物料编码</th>
                                    <th>物料名称</th>
                                    <th>所属项目</th>
                                    <th>所属计划</th>
                                    <th>所属箱单</th>
                                    <th>所属容器</th>
                                    <th>所在地点</th>
                                    <th width="6.5%">近期操作</th>
                                    <th>操作时间</th>
                                </tr>
                                </thead>
                                <tbody id="materialMove_tbody">
                                <tr class="not_data"><td colspan="10"><i class="icon icon-spin icon-spinner-indicator"></i></td></tr>
                                </tbody>
                            </table>
                            <div id="materialMove_more"></div>
                          </div>
                    </div>
                </div>
            </div>
           
        </section>
        
		<div class="modal fade" id="EXmodal">
			<div class="modal-dialog ">
				<div class="modal-content">
					<div class="modal-header">
						<button type="button" class="close" data-dismiss="modal">
							<span aria-hidden="true">×</span><span class="sr-only">关闭</span>
						</button>
						<h4 class="modal-title">异常信息</h4>
					</div>
					<div class="modal-body row">
					</div>
					<div class="modal-footer">
						<button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
					</div>
				</div>
			</div>
		</div>
		
	</div>
</div>

<%include("/common/base-bottom.html",{js:[ctxPath + "/zui/dist/lib/dashboard/zui.dashboard.min.js",ctxPath+"/layer/layer.js",ctxPath + "/js/biz/home.js"]}){} %>
